package com.stenio.fancat.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 充值虚拟商品表实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_rech_product")
public class RechProduct extends BaseEntity {

	/** 序列化ID */
	private static final long serialVersionUID = 478483790618487632L;
	/** 自增主键 */
	@TableId(value = "rech_prod_id", type = IdType.AUTO)
	private Integer rechProdId;
	@TableField("name")
	private String name;
	/** 子Id */
	@TableField("sub_id")
	private String subId;
	/** 价格 */
	@TableField("price")
	private Integer price;
	/** 是否可用，0为可用 */
	@TableField("enable")
	private Integer enable;
	/** candy币 */
	@TableField("candy")
	private Integer candy;
	
	public static final String RECH_PROD_ID = "rech_prod_id";

}